SmashBalloon\YouTubeFeed\SBY_Feed D

Total Complexity 326
Dependencies 9
Dependents 3
Total lines 1,888
Lines of code 1,072
Logical lines of code 684
Comment lines 485
Methods 69
Properties 20

Methods 69

Method Rating Maintainability Complexity Lines of code
add_remote_posts()
D
18
62 231
get_the_feed_html()
D
24
57 131
get_play_list_for_term()
B
37 16 69
process_multi_channel_header_data()
A
40 15 54
set_remote_header_data()
A
40 15 53
merge_posts()
A
48 15 34
should_use_pagination()
A
51 11 24
set_cron_cache()
A
56 9 16
add_video_duration()
A
51 8 25
marge_duration_data_to_original_posts()
A
55 8 19
merge_cached_posts()
S
48 4 34
maybe_set_post_data_from_backup()
S
49 4 33
sort_posts()
S
58 5 15
need_avatars()
S
64 6 9
set_post_data_from_cache()
S
60 5 13
cache_feed_data()
S
56 4 18
remove_duplicate_posts()
S
57 3 17
posts_loop()
S
57 3 16
get_channel_cache()
S
63 4 10
can_get_more_posts()
S
67 4 7
get_the_items_html()
S
57 2 18
need_header()
S
69 3 6
cache_header_data()
S
67 3 8
set_up_feed_avatars()
S
63 3 10
need_to_start_cron_job()
S
77 3 3
need_posts()
S
68 3 6
maybe_set_header_data_from_backup()
S
63 2 11
__construct()
S
55 1 19
get_ajax_page_load_html()
S
57 1 16
maybe_add_live_html()
S
69 2 6
trim_posts_to_max()
S
68 2 7
get_first_user()
S
69 2 7
get_channel_status()
S
68 2 7
set_channel_cache()
S
70 2 6
should_use_backup()
S
79 2 3
set_header_data_from_cache()
S
68 2 7
feed_is_complete()
S
82 1 3
get_next_pages()
S
82 1 3
filter_posts()
S
82 1 3
get_misc_data()
S
82 1 3
set_post_data()
S
81 1 3
get_post_data()
S
82 1 3
add_other_atts()
S
82 1 3
get_report()
S
82 1 3
add_report()
S
80 1 3
successful_video_api_request_made()
S
82 1 3
do_page_cache_all()
S
82 1 3
can_try_another_request()
S
82 1 3
get_different_connected_account()
S
82 1 3
get_image_ids_post_set()
S
82 1 3
update_channel_status()
S
72 1 5
make_api_connection()
S
79 1 3
add_remote_pageable_posts()
S
91 1 2
is_efficient_type()
S
78 1 3
requires_workaround_connection()
S
82 1 3
make_workaround_connection()
S
79 1 3
get_header_data()
S
82 1 3
get_feed_id()
S
79 1 3
set_header_data()
S
81 1 3
add_remote_non_pageable()
S
91 1 2
are_posts_with_no_details()
S
80 1 3
is_pageable()
S
75 1 4
regular_header_cache_exists()
S
76 1 4
regular_cache_exists()
S
76 1 4
get_channel_id_avatars()
S
82 1 3
should_update_last_requested()
S
79 1 3
set_avatar()
S
80 1 3
maybe_refresh_token()
S
82 1 3
feed_exists()
S
70 1 5